package com.sh.data.engine.repository.dao.integration.offline.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.sh.data.engine.repository.dao.base.EngineBaseModel;
import lombok.*;

import java.util.Date;

/**
 * @author: mengzheng.mhc
 * @date: 2024/6/18 11:21
 */
@Data
@Builder(toBuilder = true)
@EqualsAndHashCode(callSuper = true)
@TableName(value = "tb_offline_sync_running_record")
@NoArgsConstructor
@AllArgsConstructor
public class OfflineSyncRunningRecordEntity extends EngineBaseModel<OfflineSyncRunningRecordEntity> {

    private Long offlineSyncId;

    private Integer executeType;
    /**
     * 运行状态
     *
     * @see com.xuelangyun.hufu.common.enumDefinition.OfflineSyncTaskStatus
     */
    private Integer taskStatus;

    private Date startTime;

    private Date endTime;

    /**
     * 执行日志id
     */
    private Long jobLogId;

    private String sourceTable;

    private String targetTable;

    private String ipAddress;

    private Integer isAlarmed;

    private Date planTime;

    private Long projectId;

    private String taskName;

    private Integer ignored;
}
